<?php
$conn = mysql_connect('localhost', 'root', 'vertrigo');
mysql_select_db('tdc', $conn);
$id=$_GET['staff_id'];

$sql="DELETE FROM staff WHERE staff_id = $id;";
mysql_query($sql);
header("location:staff.php");
exit(0);
?>